export class Tools {
  static setState(params?: any): any {
    return new Promise((resolve) => {
      this.setState(...params, () => resolve())
    })
  }
}